<div class="x_panel">
  <div class="x_content row">
    <div class="col-xs-12">
      <form class="form-horizontal form-label-left" action="{$actionUrl}" method="post" enctype="multipart/form-data">
        <div class="form-group">

          <label class="control-label col-md-2 col-sm-4 col-xs-12">所属板块：</label>
          <div class="checkbox col-md-10 col-sm-12 col-xs-12">
            <select class="form-control" name="form[banner_type]">
              <option value="1" {if $banner.banner_type==1}selected{/if}>美文欣赏</option>
              <option value="2" {if $banner.banner_type==2}selected{/if}>国际游学</option>
              <option value="3" {if $banner.banner_type==3}selected{/if}>海淘图书馆</option>
              <option value="4" {if $banner.banner_type==4}selected{/if}>淘转课堂</option>
              <option value="5" {if $banner.banner_type==5}selected{/if}>YCT</option>
              <option value="6" {if $banner.banner_type==6}selected{/if}>HSK</option>
              <option value="7" {if $banner.banner_type==7}selected{/if}>西语日常</option>
              <option value="8" {if $banner.banner_type==8}selected{/if}>少儿西语</option>
              <option value="9" {if $banner.banner_type==9}selected{/if}>DELE</option>
            </select>
          </div>
          <label class="control-label col-md-2 col-sm-4 col-xs-12">轮播图标题：</label>
          <div class="checkbox col-md-10 col-sm-12 col-xs-12">
            <input class="form-control col-md-3 col-xs-12" required="required" type="text" name="form[banner_title]" value="{$banner.banner_title}">
          </div>


          <label class="control-label col-md-2 col-sm-4 col-xs-12">轮播图片：</label>

          <div class="checkbox col-md-10 col-sm-12 com-xs-12">
            {if $banner_pic}<img style="width:100px;height:100px;" src="{$banner_pic}"/>{/if}
            <input type="file" name="banner_pic">
          </div>

        </div>
        <div class="col-md-3 col-sm-12 col-xs-12 col-md-offset-4 col-sm-offset-4">
          <input type="hidden" name="banner_id" value="{$banner.banner_id}">
          <button class="btn btn-primary" type="submit">更新</button>
        </div>
      </form>
    </div>
  </div>
</div>
